package personal.dao.accounting;

import java.util.List;

import personal.domain.accounting.WeeklyBalance;


public interface WeeklyBalanceDAO {
	/**
	 * Returns all weekly balances in database
	 * @return List<WeeklyBalance> - List of all weekly balances
	 */
	public List<WeeklyBalance> getAllWeeklyBalances();
	/**
	 * Saves (insert or update) a weekly balance
	 * @param wBalance - WeeklyBalance
	 */
	public void saveWeeklyBalance(WeeklyBalance wBalance);
	/**
	 * Saves (insert or update) a list of weekly balances.
	 * @param wBalances - List<WeeklyBalance>
	 */
	public void saveWeeklyBalances(List<WeeklyBalance> wBalances);
	/**
	 * Deletes weekly balance matching input description
	 * @param wBalanceDesc - String
	 */
	public void deleteWeeklyBalance(String wBalanceDesc);
	/**
	 * Deletes a list of weekly balances matching input descriptions
	 * @param wBalances - List<String>
	 */
	public void deleteWeeklyBalances(List<String> wBalances);
}
